From 438332135f31757ff5f50870523cffc83a9234b0 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Mon, 31 Jul 2017 15:26:44 -0400 Subject: [PATCH] fix some spelling errors in cargo_rustc --- src/cargo/ops/cargo_rustc/context.rs | 2 +- src/cargo/ops/cargo_rustc/fingerprint.rs | 2 +- src/cargo/ops/cargo_rustc/job_queue.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 src/cargo/ops/cargo_rustc/context.rs diff --git a/src/cargo/ops/cargo_rustc/context.rs b/src/cargo/ops/cargo_rustc/context.rs old mode 100644 new mode 100755 index 53358ef8c..bec1fd930 --- a/src/cargo/ops/cargo_rustc/context.rs +++ b/src/cargo/ops/cargo_rustc/context.rs @@ -435,7 +435,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> { // - OSX encodes the dylib name in the executable // - Windows rustc multiple files of which we can't easily link all of them // - // Two expeptions + // Two exceptions // 1) Upstream dependencies (we aren't exporting + need to resolve name conflict) // 2) __CARGO_DEFAULT_LIB_METADATA env var // diff --git a/src/cargo/ops/cargo_rustc/fingerprint.rs b/src/cargo/ops/cargo_rustc/fingerprint.rs index 44f227f2a..fd32f2b9c 100644 --- a/src/cargo/ops/cargo_rustc/fingerprint.rs +++ b/src/cargo/ops/cargo_rustc/fingerprint.rs @@ -480,7 +480,7 @@ fn build_script_local_fingerprints<'a, 'cfg>(cx: &mut Context<'a, 'cfg>, // First up, if this build script is entirely overridden, then we just // return the hash of what we overrode it with. // - // Note that the `None` here means tha twe don't want to update the local + // Note that the `None` here means that we don't want to update the local // fingerprint afterwards because this is all just overridden. if let Some(output) = state.get(&(unit.pkg.package_id().clone(), unit.kind)) { debug!("override local fingerprints deps"); diff --git a/src/cargo/ops/cargo_rustc/job_queue.rs b/src/cargo/ops/cargo_rustc/job_queue.rs index 40a0515e5..fac58f77e 100644 --- a/src/cargo/ops/cargo_rustc/job_queue.rs +++ b/src/cargo/ops/cargo_rustc/job_queue.rs @@ -121,7 +121,7 @@ impl<'a> JobQueue<'a> { // we're only sending "longer living" messages and we should also // destroy all references to the channel before this function exits as // the destructor for the `helper` object will ensure the associated - // thread i sno longer running. + // thread is no longer running. // // As a result, this `transmute` to a longer lifetime should be safe in // practice. -- 2.30.2